<?php

/*
 * You need to fill these functions if necessary
 */

// Widget Framework needs to know the username of login user.
// We would suggest that you can use $_SESSION to share login username with widget framework.
function product_get_session_username()
{	
	if( isset($_SESSION["UserName"]) ) {
		return $_SESSION["UserName"];
        }

	// Standanloe Widget Framework would just return null.
	return null;
}
?>
